import $ from "@/utils/requset"
// 商品列表数据
const getProductList = (a,b,data=null) => $.getAxios("http://47.102.159.133:8888/api/private/v1/goods",{
    query:data,
    pagenum:a,
    pagesize:b,
})

// 登录
// const postLogin = ({ tel = null, password = null, yzm = null, sms = null } = {}) => $.postAxios('login', { tel, password, yzm, sms })
const postSyan = ({ username = null, password = null } = {})=>$.postAxios("http://47.102.159.133:8888/api/private/v1/login",{ username, password })
export default {
    getProductList,
    postSyan
}

